How to fix "Failed to verify username" in Minecraft?
When setting up a Minecraft server, you might encounter the following error:
Failed to verify username
This error appears when a player tries to connect to the server and means the server was unable to verify the player's Minecraft account license.
Why This Error Occurs
By default, Minecraft servers only allow players with an official, paid version of the game. This setup:
- Enables use of the official skin system
- Protects accounts from being used by unauthorized third parties
However, if you want to allow non-premium (cracked) players to join, you will need to disable license verification.
Important Before Disabling License Verification
Warning
Disabling online-mode
may affect server security and core systems. Please read the consequences carefully.
- Microsoft authentication will be disabled.
- Players’ UUIDs will change, which means existing data (like inventories) will not work.
- Default whitelisting and ban systems will no longer function.
- Skins won’t appear unless players use third-party launchers or plugins.
Recommendation
We strongly recommend installing the following plugins:
- For authentication:
AuthMeReloaded
- For skins:
SkinsRestorer
- For whitelist and bans:
LuckPerms
,FastLogin
Disabling License Verification
To allow cracked players to join your server, you need to change a single setting in the server.properties
file:
- Go to the root folder of your server (where
server.jar
is located). - Locate and open the
server.properties
file. - Find the line:
online-mode=true
- Change
true
tofalse
:online-mode=false
- Save the file.
- Restart the server.
- Open the "Files" section in your hosting panel.
- Navigate to the root directory of the server.
- Click on
server.properties
. - Find and change the line:
to:
online-mode=true
online-mode=false
- Click Save.
- Restart the server from the hosting panel.